Try:
1. Set a breakpoint in code (say line 10).
2. Add a line of code above that breakpoint.
3. The breakpoint should be incremented to line 11, but is not.
This means that every time a line (even comment) is added or removed, all breakpoints
are in the wrong place.
(Great work so far on gdbplugin. Let me know if I can help.)
Submitted | blokeley - 2007-06-17 - 19:08:30z | Assigned | nobody |
---|---|---|---|
Priority | 5 | Category | None |
Status | Open | Group | None |
Resolution | None | Visibility | No |
2007-06-17 - 19:49:07z shlomy |
Logged In: YES user_id=1477607 Originator: NO Right. I think the right solution to this is to react to buffer modifications the same way that markers do. Regarding help: GdbPlugin is open source; if you want to contribute (e.g. by fixing this yourself) - you're more than welcome to do it. My development time of GdbPlugin is over. I only have time to support it, about 1-2 hours a week. And there's quite a lot to add to it, many little features as well as several large ones. (See TODO.txt in the root directory of the source tree for a start...) Shlomy |
---|---|
2007-06-17 - 20:59:13z shlomy |
Logged In: YES user_id=1477607 Originator: NO Should be fixed in SVN revision 9819. I've attached the updated GdbPlugin.jar, can you verify? Thanks. File Added: GdbPlugin.jar |
2007-06-18 - 20:24:37z blokeley |
Logged In: YES user_id=1743859 Originator: YES After I removed the extra directories in the GdbPlugin.jar file (see bug 1739342) the jar loads. The breakpoint marker in the jEdit gutter moves correctly and gdb gets the new breakpoint line. The line number in the breakpoints dockable is NOT updated. |
2007-06-19 - 20:26:21z shlomy |
Logged In: YES user_id=1477607 Originator: NO I think the breakpoints dockable should be replaced by a modal breakpoint dialog. What do you say? I don't think it makes sense for a dockable window like the breakpoints dockable to be updated whenever the line number of a breakpoint changes as result of line insertion/deletion. Would it be okay to replace the dockable with a dialog? |
2007-07-11 - 19:08:43z blokeley |
Logged In: YES user_id=1743859 Originator: YES My humble opinion: keep the breakpoints view dockable, but only update it then the user saves the file. Logic: the file must be saved to be compiled before debugging anyway. |
2010-06-15 - 18:34:57z shlomy |
Unassigning myself, as I no longer maintain the plugin. |
2011-12-08 - 20:32:54z shlomy |
Unassigning myself since I no longer maintain the plugin. |
2007-06-17 - 20:59:12z shlomy |
GdbPlugin.jar Updated GdbPlugin |
---|